﻿// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>MyCompany.MyProject</Solution>
// <Project>MyCompany.MyProject.Application</Project>
// <FileName>CategoryCreateDto.cs</FileName>
// <CreateTime>2017-04-18 0:17</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-04-18 0:17" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using System.ComponentModel.DataAnnotations;

namespace Vecen.BangChuang.BangChuang.Products.Dto {

    /// <summary>
    /// 创建分类
    /// </summary>
    public class CategoryCreateDto {

        /// <summary>
        /// 名称
        /// </summary>
        [StringLength(64)]
        [Required]
        public string Name { get; set; }

        
        /// <summary>
        /// 父类型
        /// </summary>
        public int? ParentId { get; set; }
    }
}